# -*- coding: utf-8 -*-
from couchdbkit.ext.django.schema import *


class Shopmaker(Document):
    email = StringProperty()
    familyName = StringProperty()
    firstName = StringProperty()
    secondName = StringProperty()
    adminPassword = StringProperty()
    password = StringProperty()
    products = DictProperty()
    auctionProducts = DictProperty()
    lastVisit = DateTimeProperty()
    countVisit = IntegerProperty()
    money = FloatProperty()
    role = IntegerProperty()
    addressShipment = StringListProperty()
    countSell = IntegerProperty()
    banners = ListProperty()